package com.xjh.basestudy.lanqiaobei;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println((int) (Math.random() * 10));
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        scanner.nextLine();//消除
        String[] arr = new String[n];
        for (int i = 0; i < n; i++) {
            arr[i] = scanner.nextLine();
        }


        for (int i = 0; i < n; i++) {
            if (i % 2 == 0) {
                System.out.println("Yes");

            } else {
                System.out.println("No");
            }

        }

        scanner.close();
    }
}
